<div class="form" style="padding-left: 10px;">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'register-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>

	
	<h1 style="text-align: center;">Đăng kí thành viên</h1>
       
        Những trường * là những trường bắt buộc
        <br/>
        <div class="row">
            <?php echo $form->labelEx($model, 'your_name'); ?>
            <?php echo $form->textField($model, 'your_name'); ?>
            <?php echo $form->error($model, 'your_name'); ?>
        </div>
        <div class="row">
            <?php echo $form->labelEx($model, 'email'); ?>
            <?php echo $form->textField($model, 'email'); ?>
            <?php echo $form->error($model, 'email'); ?>
        </div>
        <div class="row">
            <?php echo $form->labelEx($model, 'user_name'); ?>
            <?php echo $form->textField($model, 'user_name'); ?>
            <?php echo $form->error($model, 'user_name'); ?>
        </div>
        <div class="row">
            <?php echo $form->labelEx($model, 'lr_acc'); ?>
            <?php echo $form->textField($model, 'lr_acc'); ?>
            <?php echo $form->error($model, 'lr_acc'); ?>
        </div>
        <div class="row">
            <?php echo $form->labelEx($model, 'password'); ?>
            <?php echo $form->passwordField($model, 'password'); ?>
            <?php echo $form->error($model, 'password'); ?>
        </div>
        <div class="row">
            <?php echo $form->labelEx($model, 'confirm_password'); ?>
            <?php echo $form->passwordField($model, 'confirm_password'); ?>
            <?php echo $form->error($model, 'confirm_password'); ?>
        </div>
       
	<?php echo $form->labelEx($model, 'verifyCode'); ?>
        <?php $this->widget('application.extensions.recaptcha.EReCaptcha', 
           array('model'=>$model, 'attribute'=>'verifyCode',
                 'theme'=>'red', 'language'=>'es_ES', 
                 'publicKey'=>'6LdNNc4SAAAAAN8RshKLyDfJmRvq7ar016oLZXJw')) ?>
        <?php echo $form->error($model, 'verifyCode'); ?>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Đăng kí'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->
